﻿using System;
using System.Collections.ObjectModel;
using System.Xml.Serialization;

namespace CHomeWeather
{
    /// <summary>
    /// Represents the query configuration.
    /// </summary>
    public class Query
    {
        /// <summary>
        /// Gets or sets the download url.
        /// </summary>
        [XmlAttribute]
        public string Url { get; set; }

        /// <summary>
        /// Gets or set the update configurations.
        /// </summary>
        [XmlElement("Update")]
        public Collection<UpdateConfiguration> UpdateConfigurations { get; set; }
    }
}
